﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Sern.ServiceHost.MapReduce;

namespace MapReduceServices
{
    class Program
    {
        static void Main(string[] args)
        {
#if DEBUG
            Console.WriteLine("Attach your debugger and hit enter to continue.");
            Console.ReadLine();
#endif

            using (MapReduceHostFactory.OpenListener(new MapReduceConfiguration
                {
                    HostName = "localhost"
                }))
            {

                Console.WriteLine("Services started, hit enter to close");
                Console.ReadLine();
            }
        }
    }
}
